import type { RouteRecordRaw } from 'vue-router'

/** 静态路由 */
const staticRoute: RouteRecordRaw[] = [
  {
    path: '/login',
    name: 'login',
    meta: {
      title: '登录',
      power: '0',
    },
    component: () => import('@/views/Login/Login.vue'),
  },
  {
    path: '/test',
    name: 'test',
    meta: {
      title: '测试',
      power: '0',
    },
    component: () => import('@/views/test.vue'),
  },
  {
    path: '/system-navigation',
    name: 'SystemNavigation',
    meta: {
      title: '系统导航',
      power: '0',
    },
    component: () =>
      import(
        '@/views/SystemNavigation/SystemNavigation.vue'
      ),
  },
  {
    path: '/:pathMatch(.*)*',
    name: 'NotFound',
    component: () => import('@/views/404/index.vue'),
  },
]

export default staticRoute
